<template>
  <div>
    <h1>{{msg}}</h1>
  </div>
</template>

<script>
  export default {
    name: "HelloWorld3",
    data () {
      return {
        msg: 'Welcome to HelloWorld3'
      }
    },
    //创建组件时回调
    created() {
      console.log("created")
      //导航守卫
      // document.title = "HelloWorld3"
    },
  }
</script>

<style scoped>

</style>
